package com.gxa.user.recycling.service.impl;


import com.gxa.core.recycling.pojo.Admin;
import com.gxa.core.recycling.pojo.Medal;
import com.gxa.core.recycling.service.impl.BaseServiceImpl;
import com.gxa.user.recycling.mapper.MedalMapper;
import com.gxa.user.recycling.service.AdminService;
import com.gxa.user.recycling.service.MedalService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @Author xhy
 * @Date 2021/12/2 10:22
 */
@Service("medalService")
@Transactional(rollbackFor = {Throwable.class})
public class MedalServiceImpl extends BaseServiceImpl<Medal> implements MedalService {

    @Resource
    private MedalMapper medalMapper;

    @Override
    public List<Map> findMedal(Long id) {
        return medalMapper.findMedal(id);
    }
}
